from selenium.webdriver.common.by import By

byid = By.ID
byname = By.NAME
bycname = By.CLASS_NAME
bytname = By.TAG_NAME
bylink = By.LINK_TEXT
bycss = By.CSS_SELECTOR
byxpath = By.XPATH
byparriallike = By.PARTIAL_LINK_TEXT

url = "http://10.59.9.14:7003/boss/"


# 发起结算打款成功
class Recnooadd:
    # 结算管理
    recnoo_jsgl = byxpath, '/html/body/div[1]/div[2]/div[2]/div[2]/div[11]/h2'
    # 结算记录管理
    recnoo_jsjl = byxpath, '/html/body/div[1]/div[2]/div[2]/div[2]/div[12]/ul/li/div/a'
    # 发起结算按钮
    recnoo_fqjsbtn = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[2]/div[2]/div[1]/ul/li[1]'
    # 搜索图标
    recnoo_sstb = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[3]/div/form/div[1]/div/fieldset/dl[1]/dd/a'
    # 输入用户名
    recnoo_sryhm = byxpath, '/html/body/div[13]/div[2]/div[1]/form/div/table/tbody/tr/td[1]/input'
    # 搜索按钮
    recnoo_ssan = byxpath, '/html/body/div[13]/div[2]/div[1]/form/div/table/tbody/tr/td[2]/div/div/button'
    # 选择用户名
    recnoo_xz = byxpath, '/html/body/div[13]/div[2]/div[2]/div[2]/div[2]/div/table/tbody/tr/td[7]/div/a'
    # 获取可结算余额
    recnoo_hqkjsye = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[3]/div/form/div[1]/div/fieldset/dl[3]/dd/a'
    # 结算余额
    recnoo_jsye = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[3]/div/form/div[1]/div/fieldset/dl[4]/dd/input'
    # 提交按钮
    recnoo_tjbtn = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[3]/div/form/div[2]/ul/li[1]/div/div'
    # 断言工商银行
    bank_text = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[5]/div[2]/div[2]/div[2]/div/table/tbody/tr[1]/td[4]/div'
    # 审核
    recnoo_sh = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[2]/div[2]/div[2]/div[2]/div/table/tbody/tr[1]/td[10]/div/a[2]'
    # 审核备注
    recnoo_shbz = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[3]/div/form/div[1]/div/fieldset/dl[2]/dd/input'
    # 审核提交按钮
    recnoo_shbtn = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[3]/div/form/div[2]/ul/li[1]/div'

    # 打款
    recnoo_dk = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[2]/div[2]/div[2]/div[2]/div/table/tbody/tr[1]/td[10]/div/a[2]'
    # 打款备注
    recnoo_dkbz = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[3]/div/form/div[1]/div/fieldset/dl[2]/dd/input'
    # 打款提交按钮
    recnoo_dkbtn = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[3]/div/form/div[2]/ul/li[1]/div/div/button'
    # 断言
    recnoo_dy = byxpath, '/html/body/div[1]/div[3]/div/div[2]/div[2]/div[2]/div[2]/div[2]/div/table/tbody/tr[1]/td[8]/div'


recnoo = Recnooadd()
